.class Lcom/teewoo/app/bus/ui/LinePassByStation$2$1;
.super Ljava/lang/Object;
.source "LinePassByStation.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/teewoo/app/bus/ui/LinePassByStation$2;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/teewoo/app/bus/ui/LinePassByStation$2;

.field private final synthetic val$staCol:Lcom/teewoo/app/bus/model/collection/StationCollection;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/LinePassByStation$2;Lcom/teewoo/app/bus/model/collection/StationCollection;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$2$1;->this$1:Lcom/teewoo/app/bus/ui/LinePassByStation$2;

    iput-object p2, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$2$1;->val$staCol:Lcom/teewoo/app/bus/model/collection/StationCollection;

    .line 158
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 163
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$2$1;->this$1:Lcom/teewoo/app/bus/ui/LinePassByStation$2;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/LinePassByStation$2;->access$0(Lcom/teewoo/app/bus/ui/LinePassByStation$2;)Lcom/teewoo/app/bus/ui/LinePassByStation;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$5(Lcom/teewoo/app/bus/ui/LinePassByStation;)Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;

    move-result-object v0

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$2$1;->val$staCol:Lcom/teewoo/app/bus/model/collection/StationCollection;

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/collection/StationCollection;->getId()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;->delete(Ljava/lang/Integer;)V

    .line 165
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$2$1;->this$1:Lcom/teewoo/app/bus/ui/LinePassByStation$2;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/LinePassByStation$2;->access$0(Lcom/teewoo/app/bus/ui/LinePassByStation$2;)Lcom/teewoo/app/bus/ui/LinePassByStation;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$4(Lcom/teewoo/app/bus/ui/LinePassByStation;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f080034

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    .line 167
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$2$1;->this$1:Lcom/teewoo/app/bus/ui/LinePassByStation$2;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/LinePassByStation$2;->access$0(Lcom/teewoo/app/bus/ui/LinePassByStation$2;)Lcom/teewoo/app/bus/ui/LinePassByStation;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$3(Lcom/teewoo/app/bus/ui/LinePassByStation;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020012

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 168
    return-void
.end method
